<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style type="text/css">
        .box1
        {
            width: 100px;
            height: 100px;
            margin: 0 auto;
            background-image: url("../TestPicture/Trump-Running.png");
            animation: trumpOne 0.4s steps(6) infinite;
        }
        .box2
        {
            width: 100px;
            height: 100px;
            margin: 0 auto;
            background-image: url("../TestPicture/Trump-Running.png");
            background-position:0px -100px;
            animation: trumpTwo 0.4s steps(6) infinite;
        }
        .box3
        {
            width: 100px;
            height: 100px;
            margin: 0 auto;
            background-image: url("../TestPicture/Trump-Running.png");
            background-position:0px -200px;
            animation: trumpThree 0.4s steps(6) infinite;
        }
        .box4
        {
            width: 100px;
            height: 100px;
            margin: 0 auto;
            background-image: url("../TestPicture/Trump-Running.png");
            background-position:600px -300px;
            animation: trumpFour 0.4s steps(6) infinite;
        }
        @keyframes trumpOne
        {
            from
            {
                background-position: 0 0;
            }
            to
            {
                background-position: 600px 0;
            }
        }
        @keyframes trumpTwo
        {
            from
            {
                background-position: 0 -100px;
            }
            to
            {
                background-position: 600px -100px;
            }
        }
        @keyframes trumpThree
        {
            from
            {
                background-position: 0 -200px;
            }
            to
            {
                background-position: 600px -200px;
            }
        }
        @keyframes trumpFour
        {
            from
            {
                background-position: 600px -300px;
            }
            to
            {
                background-position: 0px -300px;
            }
        }
    </style>
</head>
<body>
    <div class="box1"></div>
    <div class="box2"></div>
    <div class="box3"></div>
    <div class="box4"></div>
</body>
</html>